package shiyi;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import shiyi.domain.Person;

@SpringBootApplication
@ImportResource("classpath:beans.xml") // 加载自定义XML配置文件位置
public class StartApplication {


    public static void main(String[] args) {
        SpringApplication.run(StartApplication.class, args);



    }

}
